import request from '../../../../../public/js/common/api/api.js';

const FeedBackUrl = Utils.CurDomain.FeedBackUrl;

/**
 * @file生物安全审计API
 */
export default class RankingAPI {
    // 获取排行榜信息
    static getAuditformBills(data) {
        return request.get(`${FeedBackUrl}/auditbillrpts/sum/${data}`);
    }
    // 生物安全审查报表p列表
    static postAuditformBillsPlist(data) {
        return request.post(`${FeedBackUrl}/auditbillrpts/plist`,data);
    }

    // 生物安全审查报表p列表
    static postAuditformBillsFail(data) {
        return request.post(`${FeedBackUrl}/auditbillrpts/fail`, data);
    }
    //查询详情
    // static getAuditFormBills (id) {
    //     return request.get(`${AuditUrl}/auditformbills/${id}`);
    // }
    /**
    * 获取组织信息
    * @param data
    * @returns 
    */
    static getOrgInfo(upoid, aotype) {
        return request.get(`${Utils.CurDomain.SysPlfUrl}/yyorgunits/by/q?upoid=${upoid}&aotype=${aotype}`);
    }
}